package com.panshi.modules.service.impl;

import com.panshi.modules.mapper.ThAboutMapper;
import com.panshi.modules.service.ThAboutService;
import com.panshi.vo.ThAbout;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 857
 * @since 2020-07-29
 */
@Service
public class ThAboutServiceImpl implements ThAboutService {

    @Autowired
    private ThAboutMapper thAboutMapper;


    @Override
    public List<ThAbout> listThAbout() {
        return null;
    }

    @Override
    public ThAbout getThAbout(Integer id) {
        return null;
    }

    @Override
    public int addThAbout(ThAbout thAbout) {
        return 0;
    }

    @Override
    public int editThAbout(ThAbout thAbout) {
        return 0;
    }

    @Override
    public int delThAbout(Integer id) {
        return thAboutMapper.deleteById(id);
    }
}
